//
//  BaseTableViewController.swift
//  Weibo-DG-test
//
//  Created by Lang on 10/9/15.
//  Copyright © 2015 Lang. All rights reserved.
//

import UIKit

class BaseTableViewController: UITableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Uncomment the following line to preserve selection between presentations
        // self.clearsSelectionOnViewWillAppear = false

        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem()
    }

    //用户登录的标记
    
    var userLogon = false
    
    override func loadView() {
        userLogon ? super.loadView() : setupVisitorView()
    }
 
    
    private func setupVisitorView(){
        view = VisitorLoginView()
    }
}
